nhooyr.io/websocket.header.opcode (field)

14 uses

	nhooyr.io/websocket (current package)
		frame.go#L43: 	opcode opcode
		frame.go#L66: 	h.opcode = opcode(b & 0xf)
		frame.go#L128: 	b |= byte(h.opcode)
		read.go#L167: 	if h.opcode != opText && h.opcode != opBinary {
		read.go#L190: 		switch h.opcode {
		read.go#L195: 				if h.opcode == opClose && CloseStatus(err) != -1 {
		read.go#L198: 				return header{}, fmt.Errorf("failed to handle control frame %v: %w", h.opcode, err)
		read.go#L203: 			err := fmt.Errorf("received unknown opcode %v", h.opcode)
		read.go#L295: 	switch h.opcode {
		read.go#L349: 	if h.opcode == opContinuation {
		read.go#L357: 	return MessageType(h.opcode), c.msgReader, nil
		read.go#L434: 			if h.opcode != opContinuation {
		write.go#L292: 	c.writeHeader.opcode = opcode